//
//  logincontroll.h
//  MBObjectServer
//
//  Created by admin on 3/31/14.
//  Copyright (c) 2014 MBpayer. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBBaseServer.h"


@interface logincontroll : NSObject

@property(nonatomic, strong)MBBaseServer * baseserver;
@property(nonatomic,strong)NSDictionary * cacheDic;
-(void)LoginCheck:(NSString *)orgecode withName:(NSString *)name withpwd:(NSString *)pwd block:(void(^)(id json))processResult;
-(void)ondutywork:(NSString *)userid block:(void(^)(id json))processResult;
-(void)GetCodeByAddressByOrgeCode:(NSString *)orgecodes;
-(void)RetrieveContainers:(NSString *)orgecode withName:(NSString *)name withpwd:(NSString *)pwd;;
-(void)GetNowCashierUser:(void(^)(NSString * responseData))processResult;

-(void)offDutyFlow:(void(^)(id json))processResult;

-(void)saveIMEI:(NSDictionary *)dic;
@end
